package com.dtx.singleton.inner;

public class InnerSingle {

    private static class SingletonHolder {
        private static InnerSingle instance = new InnerSingle();
    }
    private InnerSingle() {
    }
    public static InnerSingle getInstance() {
        return SingletonHolder.instance;
    }
}
